package co.edu.usbcali.sgi.modelo.control;

import co.edu.usbcali.sgi.modelo.Rubro;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface RubroLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IRubroLogic {
    public List<Rubro> getRubro() throws Exception;

    public void saveRubro(String rubCod, String rubNombre)
        throws Exception;

    public void deleteRubro(String rubCod) throws Exception;

    public void updateRubro(String rubCod, String rubNombre)
        throws Exception;

    public Rubro getRubro(String rubCod) throws Exception;

    public List<Rubro> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Rubro> findPageRubro(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberRubro() throws Exception;
}
